import mongoose from '../dbHelper'
import { defaultSchemaExtend, defaultSchemaOptions } from '../config/index'

const Schema = mongoose.Schema

const PlginOssPathSchema = new Schema(
	Object.assign(
		{
			content: String,
			bg: String,
			wkyyContent: String,
			wkyyBg: String,
		},
		defaultSchemaExtend
	),
	defaultSchemaOptions
)

const PlginOssPath = mongoose.model(
	'PlginOssPath',
	PlginOssPathSchema,
	'PlginOssPaths'
)

export default PlginOssPath
